package com.gy.yemall.yemallware.fegin;

import com.gy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("yemall-product")
public interface FeignProduct {

    @RequestMapping("/yemallproduct/spuinfo/info/{id}")
    public R info(@PathVariable("id") Long id);
}
